<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            background: aqua;
            margin: 100px;
        }
        .div1{
            transform: skew(30deg);
        }
        .div2{
            transform: skew(0deg,30deg);
        }
    </style>
</head>
<body>
<div class="div1">元素左上角为坐标轴中心，x轴方向逆时针倾斜30度</div>
<div class="div2">元素左上角为坐标轴中心，y轴方向顺时针倾斜30度</div>
</body>
</html>